package com.cn.intelligence.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VipExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public VipExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Long value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Long value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Long value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Long value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Long value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Long value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Long> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Long> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Long value1, Long value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Long value1, Long value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUnameIsNull() {
            addCriterion("uname is null");
            return (Criteria) this;
        }

        public Criteria andUnameIsNotNull() {
            addCriterion("uname is not null");
            return (Criteria) this;
        }

        public Criteria andUnameEqualTo(String value) {
            addCriterion("uname =", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotEqualTo(String value) {
            addCriterion("uname <>", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameGreaterThan(String value) {
            addCriterion("uname >", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameGreaterThanOrEqualTo(String value) {
            addCriterion("uname >=", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLessThan(String value) {
            addCriterion("uname <", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLessThanOrEqualTo(String value) {
            addCriterion("uname <=", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLike(String value) {
            addCriterion("uname like", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotLike(String value) {
            addCriterion("uname not like", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameIn(List<String> values) {
            addCriterion("uname in", values, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotIn(List<String> values) {
            addCriterion("uname not in", values, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameBetween(String value1, String value2) {
            addCriterion("uname between", value1, value2, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotBetween(String value1, String value2) {
            addCriterion("uname not between", value1, value2, "uname");
            return (Criteria) this;
        }

        public Criteria andStatusdateIsNull() {
            addCriterion("statusdate is null");
            return (Criteria) this;
        }

        public Criteria andStatusdateIsNotNull() {
            addCriterion("statusdate is not null");
            return (Criteria) this;
        }

        public Criteria andStatusdateEqualTo(Integer value) {
            addCriterion("statusdate =", value, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateNotEqualTo(Integer value) {
            addCriterion("statusdate <>", value, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateGreaterThan(Integer value) {
            addCriterion("statusdate >", value, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateGreaterThanOrEqualTo(Integer value) {
            addCriterion("statusdate >=", value, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateLessThan(Integer value) {
            addCriterion("statusdate <", value, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateLessThanOrEqualTo(Integer value) {
            addCriterion("statusdate <=", value, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateIn(List<Integer> values) {
            addCriterion("statusdate in", values, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateNotIn(List<Integer> values) {
            addCriterion("statusdate not in", values, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateBetween(Integer value1, Integer value2) {
            addCriterion("statusdate between", value1, value2, "statusdate");
            return (Criteria) this;
        }

        public Criteria andStatusdateNotBetween(Integer value1, Integer value2) {
            addCriterion("statusdate not between", value1, value2, "statusdate");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Double value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Double value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Double value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Double value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Double value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Double> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Double> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Double value1, Double value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Double value1, Double value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andFullMoneyIsNull() {
            addCriterion("full_money is null");
            return (Criteria) this;
        }

        public Criteria andFullMoneyIsNotNull() {
            addCriterion("full_money is not null");
            return (Criteria) this;
        }

        public Criteria andFullMoneyEqualTo(Double value) {
            addCriterion("full_money =", value, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyNotEqualTo(Double value) {
            addCriterion("full_money <>", value, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyGreaterThan(Double value) {
            addCriterion("full_money >", value, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("full_money >=", value, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyLessThan(Double value) {
            addCriterion("full_money <", value, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyLessThanOrEqualTo(Double value) {
            addCriterion("full_money <=", value, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyIn(List<Double> values) {
            addCriterion("full_money in", values, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyNotIn(List<Double> values) {
            addCriterion("full_money not in", values, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyBetween(Double value1, Double value2) {
            addCriterion("full_money between", value1, value2, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andFullMoneyNotBetween(Double value1, Double value2) {
            addCriterion("full_money not between", value1, value2, "fullMoney");
            return (Criteria) this;
        }

        public Criteria andActivetimestartIsNull() {
            addCriterion("activeTimeStart is null");
            return (Criteria) this;
        }

        public Criteria andActivetimestartIsNotNull() {
            addCriterion("activeTimeStart is not null");
            return (Criteria) this;
        }

        public Criteria andActivetimestartEqualTo(Date value) {
            addCriterion("activeTimeStart =", value, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartNotEqualTo(Date value) {
            addCriterion("activeTimeStart <>", value, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartGreaterThan(Date value) {
            addCriterion("activeTimeStart >", value, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartGreaterThanOrEqualTo(Date value) {
            addCriterion("activeTimeStart >=", value, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartLessThan(Date value) {
            addCriterion("activeTimeStart <", value, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartLessThanOrEqualTo(Date value) {
            addCriterion("activeTimeStart <=", value, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartIn(List<Date> values) {
            addCriterion("activeTimeStart in", values, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartNotIn(List<Date> values) {
            addCriterion("activeTimeStart not in", values, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartBetween(Date value1, Date value2) {
            addCriterion("activeTimeStart between", value1, value2, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimestartNotBetween(Date value1, Date value2) {
            addCriterion("activeTimeStart not between", value1, value2, "activetimestart");
            return (Criteria) this;
        }

        public Criteria andActivetimeendIsNull() {
            addCriterion("activeTimeEnd is null");
            return (Criteria) this;
        }

        public Criteria andActivetimeendIsNotNull() {
            addCriterion("activeTimeEnd is not null");
            return (Criteria) this;
        }

        public Criteria andActivetimeendEqualTo(Date value) {
            addCriterion("activeTimeEnd =", value, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendNotEqualTo(Date value) {
            addCriterion("activeTimeEnd <>", value, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendGreaterThan(Date value) {
            addCriterion("activeTimeEnd >", value, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendGreaterThanOrEqualTo(Date value) {
            addCriterion("activeTimeEnd >=", value, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendLessThan(Date value) {
            addCriterion("activeTimeEnd <", value, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendLessThanOrEqualTo(Date value) {
            addCriterion("activeTimeEnd <=", value, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendIn(List<Date> values) {
            addCriterion("activeTimeEnd in", values, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendNotIn(List<Date> values) {
            addCriterion("activeTimeEnd not in", values, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendBetween(Date value1, Date value2) {
            addCriterion("activeTimeEnd between", value1, value2, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andActivetimeendNotBetween(Date value1, Date value2) {
            addCriterion("activeTimeEnd not between", value1, value2, "activetimeend");
            return (Criteria) this;
        }

        public Criteria andPidIsNull() {
            addCriterion("pid is null");
            return (Criteria) this;
        }

        public Criteria andPidIsNotNull() {
            addCriterion("pid is not null");
            return (Criteria) this;
        }

        public Criteria andPidEqualTo(Long value) {
            addCriterion("pid =", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotEqualTo(Long value) {
            addCriterion("pid <>", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThan(Long value) {
            addCriterion("pid >", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThanOrEqualTo(Long value) {
            addCriterion("pid >=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThan(Long value) {
            addCriterion("pid <", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThanOrEqualTo(Long value) {
            addCriterion("pid <=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidIn(List<Long> values) {
            addCriterion("pid in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotIn(List<Long> values) {
            addCriterion("pid not in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidBetween(Long value1, Long value2) {
            addCriterion("pid between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotBetween(Long value1, Long value2) {
            addCriterion("pid not between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(Date value) {
            addCriterion("created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(Date value) {
            addCriterion("created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(Date value) {
            addCriterion("created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
            addCriterion("created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(Date value) {
            addCriterion("created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(Date value) {
            addCriterion("created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<Date> values) {
            addCriterion("created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<Date> values) {
            addCriterion("created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(Date value1, Date value2) {
            addCriterion("created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(Date value1, Date value2) {
            addCriterion("created not between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNull() {
            addCriterion("updated is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNotNull() {
            addCriterion("updated is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedEqualTo(Date value) {
            addCriterion("updated =", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotEqualTo(Date value) {
            addCriterion("updated <>", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThan(Date value) {
            addCriterion("updated >", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThanOrEqualTo(Date value) {
            addCriterion("updated >=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThan(Date value) {
            addCriterion("updated <", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThanOrEqualTo(Date value) {
            addCriterion("updated <=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedIn(List<Date> values) {
            addCriterion("updated in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotIn(List<Date> values) {
            addCriterion("updated not in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedBetween(Date value1, Date value2) {
            addCriterion("updated between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotBetween(Date value1, Date value2) {
            addCriterion("updated not between", value1, value2, "updated");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}